package 设计原则.开闭原则;

public class HighSchoolStudent extends Student{
    @Override
    public void eat() {
        System.out.println("高中生吃饭");
    }

    @Override
    public void sleep() {
        System.out.println("高中生睡觉");
    }

    public void study() {
        System.out.println("高中生学习");
    }
}
